package com.example.demo2;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
/*
* 2017-10-24
* Even
* 配置和启动引导类
* */
//组件扫描和自动配置
//@Configuration    表明该类使用Spring基于java的配置
//@ComponentScan    扫描组件注解
//@EnableAutoConfiguration  自动配置
//Spring Boot 1.2.0 开始合并
@SpringBootApplication
public class Demo2Application {
//启动引导应用程序
	public static void main(String[] args) {
		SpringApplication.run(Demo2Application.class, args);
	}
}
